!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[VerticalMenu_VerticalMenuSolidColorSkin]",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[VerticalMenu_VerticalMenuSolidColorSkin]"]=t(require("react")):e["rb_wixui.thunderbolt[VerticalMenu_VerticalMenuSolidColorSkin]"]=t(e.React)}("undefined"!=typeof self?self:this,(function(e){return function(e){function t(t){for(var r,a,l=t[0],s=t[1],u=t[2],d=0,p=[];d{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}const l=a(o.space),s=a(o.enter),u=e=>{s(e),l(e)},c=a(o.escape),d="has-custom-focus",p=(e={})=>{var t,{pressed:n,expanded:o,haspopup:i,label:a,live:l,relevant:s,current:u,owns:c,controls:d,roleDescription:p,hidden:f,disabled:m,describedBy:b,labelledBy:v,errorMessage:y,atomic:h,role:g,busy:O}=e,_=r(e,["pressed","expanded","haspopup","label","live","relevant","current","owns","controls","roleDescription","hidden","disabled","describedBy","labelledBy","errorMessage","atomic","role","busy"]);const M=null!==(t=_.tabIndex)&&void 0!==t?t:_.tabindex,j={};return a&&(j["aria-label"]=a),l&&(j["aria-live"]=l),u&&(j["aria-current"]=u),n&&(j["aria-pressed"]=n),"boolean"==typeof f&&(j["aria-hidden"]=f),"boolean"==typeof o&&(j["aria-expanded"]=o),"boolean"==typeof m&&(j["aria-disabled"]=m),"boolean"==typeof h&&(j["aria-atomic"]=h),"boolean"==typeof O&&(j["aria-busy"]=O),"string"==typeof s&&(j["aria-relevant"]=s),"string"==typeof c&&(j["aria-owns"]=c),"string"==typeof d&&(j["aria-controls"]=d),"string"==typeof p&&(j["aria-roledescription"]=p),i&&(j["aria-haspopup"]=i),"number"==typeof M&&(j.tabIndex=M),g&&(j.role=g),b&&(j["aria-describedby"]=b),v&&(j["aria-labelledby"]=v),y&&(j["aria-errormessage"]=y),j}},2488:function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(499),a=n(2489),l=n.n(a);t.a=o.a.forwardRef((e,t)=>o.a.createElement(i.a,Object.assign({},e,{ref:t,style:l.a,separatedButton:!1})))},2489:function(e,t,n){e.exports={displayCount:"_2w_0a",autoHeight:"_27jH9",VerticalMenuSolidColorSkin:"_2VltG",verticalMenuSolidColorSkin:"_2VltG",menuContainer:"EtZuE",item:"_2G_G3",subMenu:"qM7uv",menuSideRight:"NF5Je",menuSideLeft:"_2_mcI",menuDirectionTop:"_174FM",menuDirectionBottom:"NAZFX",itemContentWrapper:"_2hPNU",noLink:"_2oQc7",linkWrapper:"_1Fk74",label:"_1wg1m",selected:"_38rtH",itemHighlight:"MqKU0"}},4904:function(e,t,n){"use strict";n.r(t),n.d(t,"components",(function(){return r})),n.d(t,"version",(function(){return o}));const r={VerticalMenu_VerticalMenuSolidColorSkin:{component:n(2488).a}},o="1.0.0"},499:function(e,t,n){"use strict";var r=n(0),o=n.n(r);const i=(e,t)=>{let n=[];return null==t||t.forEach(t=>{var r,o;const a=!!(null===(r=t.link)||void 0===r?void 0:r.anchorDataId)||!!(null===(o=t.link)||void 0===o?void 0:o.anchorCompId),l=(e=>e.replace("./","").split("/").slice(1))(e).some(e=>{var n;return e&&e===(null===(n=t.link)||void 0===n?void 0:n.innerRoute)});if(!1!==t.selected)if(t.selected||t.link&&(t.link.href===e||l)&&!a)n.push(t);else{const r=i(e,t.items);r.length>0&&(n=[...r,...n,t])}}),n},a=(e,t)=>e.map(e=>Object.assign(Object.assign({},e),{items:a(e.items||[],t),selected:t.includes(e)}));var l=(e,t)=>{const n=i(e,t);return a(t,n)};const s=e=>e.filter(e=>(e=>void 0===e.isVisible||e.isVisible)(e)).map(e=>void 0!==e.items&&e.items.length?Object.assign(Object.assign({},e),{items:s(e.items)}):e);var u=s;const c=e=>"linkElement-"+e,d=e=>"subMenu-"+e,p="subMenu-",f=e=>"itemContentWrapper-"+e;var m=n(6),b=n.n(m),v=n(8);function y(e,t){const[n,o]=Object(r.useState)("bottom"),i=()=>{o(n=>{if(!e.current)return n;const r=e.current.querySelectorAll(`[id^=${p}]`),o=Array.from(r).every(((e,t)=>n=>{const r=n.getBoundingClientRect();let o,i;return"top"===e?(o=r.height<=r.bottom,i=r.height<=r.bottom+t+document.documentElement.clientHeight):(i=r.top+r.height<=document.documentElement.clientHeight,o=r.height<=r.top+t),!("bottom"!==e||i||!o)||"top"===e&&!o})(n,t));return"bottom"===n&&o?"top":"top"===n&&o?"bottom":n})};return Object(r.useEffect)(()=>{if(!Object(v.c)())return;const e=Object(v.a)(i,300);return window.addEventListener("resize",e),i(),()=>window.removeEventListener("resize",e)},[]),n}var h=n(34);const g=(e,t)=>{if(!e)return!1;const n=[];let r=!0;for(;r;){n.push(e);const t=e.lastIndexOf("-");-1===t?r=!1:e=e.slice(0,t)}return n.push(e),n.includes(t)},O=()=>{document.activeElement instanceof HTMLElement&&document.activeElement.blur()};var _=o.a.forwardRef(e=>{const{items:t,skin:n,id:i,className:a,ariaLabel:l,menuItemHeight:s,style:u,separatedButton:p,subMenuOpenSide:m,onMouseEnter:_,onMouseLeave:M,onItemClick:j,onItemDblClick:S,onItemMouseIn:w,onItemMouseOut:k}=e,x=Object(r.useRef)(null),[E,C]=Object(r.useState)(null),I=y(x,s),L=(e,t)=>{const n=e=>{if(!x.current)return!1;const t=e.relatedTarget;return x.current.contains(t)},r=w?t=>{null==w||w(t,e)}:void 0,i=k?t=>{null==k||k(t,e)}:void 0,a=j?t=>{null==j||j(t,e)}:void 0,l=S?t=>{null==S||S(t,e)}:void 0,s=e.items&&e.items.length>0;return o.a.createElement("li",{className:u.item,key:t},o.a.createElement("div",{"data-testid":f(t),className:b()(u.itemContentWrapper,e.selected&&u.selected,!Object(h.b)(e.link)&&u.noLink,g(E,t)&&u.itemHighlight)},o.a.createElement("span",{className:u.linkWrapper,onMouseEnter:()=>C(t),onFocus:()=>C(t),onMouseUp:O,onKeyUp:e=>13===e.keyCode&&O(),onMouseOut:e=>!n(e)&&C(null),onBlur:e=>{n(e)||C(null)}},o.a.createElement(h.a,Object.assign({dataTestId:c(t),className:u.label},e.link,{"aria-haspopup":s?"true":void 0,tabIndex:0,onClick:a,onMouseEnter:r,onMouseLeave:i,onDoubleClick:l}),e.label,e.displayCount&&o.a.createElement("span",{className:u.displayCount},"(",e.displayCount,")"))),s&&(v=t,y=e.items,o.a.createElement("ul",{className:b()(u.subMenu,"top"===I?u.menuDirectionTop:u.menuDirectionBottom,"right"===m?u.menuSideRight:u.menuSideLeft),"data-testid":d(v),id:d(v)},y.map((e,t)=>L(e,`${v}-${t}`))))),p&&o.a.createElement("div",{className:u.separator}));var v,y};return o.a.createElement("nav",Object.assign({id:i},Object(v.b)(e),{ref:x,"aria-label":l,className:b()(a,u[n],u.autoHeight),tabIndex:-1,onMouseEnter:_,onMouseLeave:M}),o.a.createElement("ul",{className:u.menuContainer},t&&t.map((e,t)=>L(e,t.toString()))))});t.a=r.forwardRef((e,t)=>{const{translate:n,items:o=[],currentPageHref:i}=e,a=r.useMemo(()=>u(o),[o]),s=r.useMemo(()=>l(i,a),[i,a]),c=n("AriaLabels","dropDownMenu_AriaLabel_TopLevel_SiteNavigation","Site");return r.createElement(_,Object.assign({},e,{ref:t,items:s,ariaLabel:c}))})},6:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t